[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
##############################################################################
###+-----------+##############################################################
#+-| SET FIXED |-----------------------------------------------+##############
#| +-----------+ The SET FIXED command controls the fixed flag |##############
#+-------------------------------------------------------------+##############
##############################################################################
##############################################################################
#+--| Syntax |--------------------+###########################################
#|     SET FIXED <ON || OFF >     |###########################################
#+--------------------------------+###########################################
##############################################################################
##############################################################################
##########+---| Description |-------------------------------------+###########
##########| ON                                                    |###########
##########|                                                       |###########
##########| If the SET FIXED flag is ON, FORCE displays the value |###########
##########| of a double-precision expression with the number of   |###########
##########| decimal places defined in SET DECIMALS TO <Uint-exp>. |###########
##########| ----------------------------------------------------- |###########
##########| OFF                                                   |###########
##########|                                                       |###########
##########| If the SET FIXED flag is OFF, FORCE displays double-  |###########
##########| precision numbers with as many decimal places as are  |###########
##########| needed.                                               |###########
##########+-------------------------------------------------------+###########
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########|                                                          |#########
#########| ? log( 3.1415 ) * log( 3.1415 )                          |#########
#########| SET DECIMALS TO 4                                        |#########
#########| SET FIXED ON                                             |#########
#########| ? log( 3.1415 ) * log( 3.1415 )                          |#########
#########|                                                          |#########
#########| Output:                                                  |#########
#########| 1.31033899                                               |#########
#########| 1.3103                                                   |#########
#########+----------------------------------------------------------+#########
##############################################################################

See Also: SET DECIMALS TO
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson